package cn.wolfcode.esdemo.repository;

import cn.wolfcode.esdemo.domain.Product;
import org.springframework.data.elasticsearch.repository.ElasticsearchCrudRepository;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

/**
 * 持久层操作 es 数据库的接口
 */
@Repository
public interface ProductRepository extends ElasticsearchRepository<Product, String> {

}
